﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace ProjectManagement.Domain.Entities
{
	public class Role
	{
		[Display(Name="编号")]
		public virtual int ID { set; get; }
		[Display(Name="角色名称")]
		[Required(ErrorMessage="角色名称必填")]
		public virtual string Name { set; get; }
		[Display(Name="角色描述")]
		[DataType(DataType.MultilineText)]
		public virtual string Description { set; get; }

	}
}
